#ifndef __GGEAR_TYPES_H
#define __GGEAR_TYPES_H

#ifdef WIN32
	#include <windows.h>
	#pragma pack(1)
#endif

typedef signed	__int8		s8;

typedef signed __int16		s16;

typedef signed __int32		s32;

typedef signed __int64		s64;

typedef unsigned __int8		u8;

typedef unsigned __int16	u16;

typedef unsigned __int32	u32;

typedef unsigned __int64	u64;

typedef float				f32;

typedef double				f64;

typedef char				c8;

typedef wchar_t				c16;

typedef bool				b8;

#define null				NULL

#define isnull(ptr)			(ptr == NULL)

#define drefs(ptr)			(*(ptr))

#define refs(var)			(&(var))

#endif